<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>频道栏目模板选择</title>
    <Pintuer />
</head>
<body>
    <table class="hd-table hd-table-list">
    <list from="$file" name="$f">
        <tr>
            <td>
                <if value="$f.type eq file">
                    <b class="file"></b>
                    <else/>
                    <b class="dir"></b>
                </if>
            </td>
            <td>
                <if value="$f.type eq file">
                    <a href="javascript:;"
                       onclick="selectFile('<?php echo str_replace('Template/' . C('WEB_STYLE') . '/', '', $f['spath']); ?>')">{$f.filename}</a>
                    <else/>
                    <a href="{|U:'selectTemplate',array('id'=>$_GET['id'],'dir'=>str_replace(ROOT_PATH,'',$f['spath']))}">
                        {$f.filename}
                    </a>
                </if>
            </td>
            <td>
                {$f.size|get_size}
            </td>
            <td>
                {$f.filemtime|date:'Y-m-d',@@}
            </td>
        </tr>
    </list>
</table>
</body>
</html>